package com.crm.service;

import org.springframework.transaction.annotation.Transactional;

import com.crm.dao.TelDao;
import com.crm.pojo.Tel;

@Transactional
public class TelService {
	private TelDao telDao;

	public void setTelDao(TelDao telDao) {
		this.telDao = telDao;
	}

	public void save(Tel tel) {
		telDao.save(tel);
	}

	public Tel findById(String id) {
		return telDao.get(id);
	}
	
}
